package com.cjkj.applet.domain;

import com.cjkj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 小程序账号对象 applet_account
 * 
 * @author cjkj
 * @date 2024-08-30
 */
public class AppletAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long accountId;

    /** 小程序用户唯一ID */
    private String openid;

    /** 用户昵称 */
    private String nickName;

    /** 用户头像 */
    private String avatarUrl;

    /** 医生账号 */
    private String doctor;

    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setNickName(String nickName) 
    {
        this.nickName = nickName;
    }

    public String getNickName() 
    {
        return nickName;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }
    public void setDoctor(String doctor) 
    {
        this.doctor = doctor;
    }

    public String getDoctor() 
    {
        return doctor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("accountId", getAccountId())
            .append("openid", getOpenid())
            .append("nickName", getNickName())
            .append("avatarUrl", getAvatarUrl())
            .append("createTime", getCreateTime())
            .append("doctor", getDoctor())
            .toString();
    }
}
